Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 396c8afa7d6ad4ea2ec1b7ae2efec5597fd70376


Parents : 2626e46
Author : Mark Qvist <bc7291552be7a58f361522990465165c>
Signature : T66BB85Valid, signed by author
Date : 2026-07-19T21:59:48+02:00

Updated logging

Changes

1 files changed, 1 insertions(+), 3 deletions(-)


Diff

diff --git a/sbapp/sideband/core.py b/sbapp/sideband/core.py
index f45d3485..4cd0e5f3 100644
--- a/sbapp/sideband/core.py
+++ b/sbapp/sideband/core.py
@@ -61,9 +61,7 @@ class PropagationNodeDetector():
age = time.time() - emitted
if age < 0:
- RNS.log("Warning, propagation node announce emitted in the future, possible timing inconsistency or tampering attempt.")
- if age < -1*PropagationNodeDetector.EMITTED_DELTA_GRACE:
- raise ValueError("Announce timestamp too far in the future, discarding it")
+ if age < -1*PropagationNodeDetector.EMITTED_DELTA_GRACE: raise ValueError("Announce timestamp too far in the future, discarding it")
if age > -1*PropagationNodeDetector.EMITTED_DELTA_IGNORE:
# age = 0


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────